package com.hxs.hxsserver.domain.dto.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author liuchuan
 * @create 2024/9/27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("文件夹参数")
public class FolderDTO {

    private Integer id;

    /**
     * 文件夹名称
     */
    @NotBlank
    @ApiModelProperty(value = "文件夹名称")
    private String folderName;

    @ApiModelProperty(value = "父文件id")
    private Integer parentId;

    @ApiModelProperty(value = "层级")
    private Integer layer;

}
